#include "qtgl.h"
#include <QApplication>
#include <QThread>
#include <QScreen>
#include <QMainWindow>


int main(int argc, char *argv[])
{
    QApplication a(argc, argv);
    QList<QScreen*> displays = a.screens();
    QTGL w(displays[0]);
    qDebug()<<displays[0]->name();

    w.showFullScreen();
	return a.exec();
}
